.Carousel {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}
.Carousel__Item {
  position: absolute;
  inset: 0 0 0 0;
}
.Carousel__Item__Image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.Carousel__Item::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}
.Carousel__Item__Content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  max-width: 1080px;
  height: 100%;
  color: #FFF;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}
.Carousel__Item__Content__Category {
  font-size: 24px;
  letter-spacing: 0.025em;
  font-weight: 300;
  text-transform: uppercase;
  position: relative;
}
.Carousel__Item__Content__Category::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 20px;
  height: 3px;
  background-color: #FFF;
}
.Carousel__Item__Content__Title__Holder {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.Carousel__Item__Content__Title {
  font-size: 72px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
.Carousel__Item__Content__Description {
  font-size: 18px;
  font-weight: 400;
  color: #FFF;
  opacity: 0.8;
  text-wrap: pretty;
  max-width: 40ch;
  margin-top: 24px;
}
.Carousel__Item__Content__Footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.Carousel__Item__Content__Button {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: #FFF;
  border: 1px solid #FFF;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0 20px;
  cursor: pointer;
  transition: all 200ms ease;
}
.Carousel__Item__Content__Button--Bookmark {
  width: 40px;
  padding: 0;
}
.Carousel__Item__Content__Button:hover {
  background-color: #FFF;
  color: #1C1C1E;
}
.Carousel__Thumbnail {
  position: absolute;
  bottom: 120px;
  left: 60%;
  width: max-content;
  display: flex;
  z-index: 100;
  border-radius: 12px;
  /*overflow: hidden;*/
  transition: all 200ms ease;
  width: calc(170px * 4 + 20px * 3);
  height: 270px;
}
.Carousel__Thumbnail__Item {
  width: 170px;
  height: 270px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.3) 10px 19px 38px, rgba(0, 0, 0, 0.22) 10px 15px 12px;
}
.Carousel__Thumbnail__Item:nth-child(1) {
  left: 0;
}
.Carousel__Thumbnail__Item:nth-child(2) {
  left: 190px;
}
.Carousel__Thumbnail__Item:nth-child(3) {
  left: 380px;
}
.Carousel__Thumbnail__Item:nth-child(4) {
  left: 570px;
}

.Carousel__Thumbnail__Item__Image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.Carousel__Navigation {
  position: absolute;
  bottom: 50px;
  left: calc(50% - 100px);
  transform: translate(-50%, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 100;
}
.Carousel__Navigation__Button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #FFF;
  color: var(--titleColor);
  display: flex;
  align-items: center;
  justify-content: center;
}
.Carousel__Navigation__Button:hover {
  background-color: var(--titleColor);
  color: #FFF;
}
.Carousel__Navigation__Button__Icon {
  font-size: 20px;
}
.Carousel__Item:nth-child(1) {
  z-index: 1;
}
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Category,
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Title,
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Description,
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Footer {
  transform: translateY(70px);
  opacity: 0;
  animation: slide-up 300ms cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}
@keyframes slide-up {
  to {
      transform: translateY(0);
      opacity: 1;
  }
}
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Category {
  animation-delay: 800ms;
}
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Title {
  animation-delay: 900ms;
}
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Title__Holder:first-of-type .Carousel__Item__Content__Title {
  animation-delay: 850ms;
}
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Description {
  animation-delay: 950ms;
}
.Carousel__Item:nth-child(1) .Carousel__Item__Content__Footer {
  animation-delay: 1000ms;
}

/* OUVERTURE */
.Carousel.Carousel--Next .Carousel__Item:nth-child(1) .Carousel__Item__Image {
  width: 170px;
  height: 270px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.3) 10px 19px 38px, rgba(0, 0, 0, 0.22) 10px 15px 12px;
  position: absolute;
  bottom: 120px;
  left: 60%;
  animation: zoom-out 1200ms cubic-bezier(.89,-0.04,.06,1) forwards;
}
@keyframes zoom-out {
  to {
      width: 100%;
      height: 100%;
      border-radius: 0;
      box-shadow: none;
      left: 0;
      bottom: 0;
      transform: scale(100%);
  }
}
/* OUVERTURE */
.Carousel.Carousel--Next .Carousel__Item:last-child {
  animation: zoom-in 1200ms cubic-bezier(.89,-0.04,.06,1) forwards;
}
.Carousel.Carousel--Next .Carousel__Item:last-child::after {
  animation: mask 1200ms cubic-bezier(.89,-0.04,.06,1) forwards;;
}
@keyframes zoom-in {
  to {
      transform: scale(150%);
  }
}
@keyframes mask {
  to {
      opacity: 1;
      visibility: visible;
  }
}
.Carousel.Carousel--Next .Carousel__Thumbnail__Item:nth-child(1),
.Carousel.Carousel--Next .Carousel__Thumbnail__Item:nth-child(2),
.Carousel.Carousel--Next .Carousel__Thumbnail__Item:nth-child(3) {
  transform: translateX(190px);
  animation: slide-left 1200ms cubic-bezier(.89,-0.04,.06,1) forwards;
}
.Carousel.Carousel--Next .Carousel__Thumbnail__Item:nth-child(2) {
  animation-delay: 150ms;
}
.Carousel.Carousel--Next .Carousel__Thumbnail__Item:nth-child(3) {
  animation-delay: 300ms;
}
.Carousel.Carousel--Next .Carousel__Thumbnail__Item:nth-last-child(1) {
  transform: scale(0);
  animation: slide 1200ms cubic-bezier(.89,-0.04,.06,1) forwards;
  animation-delay: 450ms;
  margin-right: 20px;
}
@keyframes slide-left {
  to {
      transform: translateX(0);
  }
}
@keyframes slide {
  to {
      transform: scale(1);
  }
}
.entrance-img,
.slider {
  width: 100%;
  height: 100vh;
  position: relative;
}
.img--slider {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease-in;
}
.img--slider--active {
  opacity: 1;
}
.main-body_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0001);
}

@media screen and (max-width: 1024px) {
  .Carousel__Thumbnail,
  .Carousel.Carousel--Next .Carousel__Item:nth-child(1) .Carousel__Item__Image  {
    left: 24px;
    bottom: 56px;
  }

  .Carousel__Item__Content {
    justify-content: flex-start;
    padding: 120px 24px 0;
  }

  .Carousel__Item__Content__Title {
    font-size: 48px;
  }
}